// ******************************************************************
// * Copyright(c)  Steven Lu
// * Description   : Schema_MST_CUSTOMER_SALESMAN
// * CreateDate    : 2014-06-05 18:30:14
// * Creater       : CodeSmith
// * LastChangeDate: 2014-06-05 18:30:14
// * LastChanger   : 2014-06-05 18:30:14
// * Version Info  : 1.0 For ESOL
// ******************************************************************

using System;
using System.Collections.Generic;
using System.Text;
using Suzsoft.Smart.EntityCore;

namespace ESOL.Common.Schema
{
  	[Serializable]
    public partial class MstCustomerSalesmanTable : TableInfo
    {
		public const string C_TableName = "MST_CUSTOMER_SALESMAN";
		
		public const string C_ID = "ID";
		public const string C_CUSTOMER_ID = "CUSTOMER_ID";
		public const string C_SALESMAN_NO = "SALESMAN_NO";
		public const string C_SALESMAN_NAME = "SALESMAN_NAME";
		
		public MstCustomerSalesmanTable()
        {
            _tableName = "MST_CUSTOMER_SALESMAN";
        }
		
		protected static MstCustomerSalesmanTable _current;
        public static MstCustomerSalesmanTable Current
        {
            get
            {
                if (_current == null)
                {
                    Initial();
                }
                return _current;
            }
        }
		
		private static void Initial()
        {
            _current = new MstCustomerSalesmanTable();

            _current.Add(C_ID, new ColumnInfo(C_ID,"Id", true, typeof(string)));
            _current.Add(C_CUSTOMER_ID, new ColumnInfo(C_CUSTOMER_ID,"CustomerId", false, typeof(string)));
            _current.Add(C_SALESMAN_NO, new ColumnInfo(C_SALESMAN_NO,"SalesmanNo", false, typeof(string)));
            _current.Add(C_SALESMAN_NAME, new ColumnInfo(C_SALESMAN_NAME,"SalesmanName", false, typeof(string)));
			
		}
		
		public ColumnInfo ID
        {
            get { return this[C_ID]; }
        }
		
		public ColumnInfo CUSTOMER_ID
        {
            get { return this[C_CUSTOMER_ID]; }
        }
		
		public ColumnInfo SALESMAN_NO
        {
            get { return this[C_SALESMAN_NO]; }
        }
		
		public ColumnInfo SALESMAN_NAME
        {
            get { return this[C_SALESMAN_NAME]; }
        }
		
		
		
	}
}

